namespace TerritoryGame.Domain.ValueObjects;

/// <summary>
/// 游戏ID值对象
/// </summary>
public record GameId(string Value)
{
    public static GameId New() => new(Guid.NewGuid().ToString("N"));
    
    public static implicit operator string(GameId id) => id.Value;
    
    public override string ToString() => Value;
}
